CustomLayerHostNative

class CustomLayerHostNative : CustomLayerHost

Interface for hosting a custom map style layer.

Constructors

CustomLayerHostNative
Link copied to clipboard
open fun CustomLayerHostNative(peer: Long)

Functions

contextLost
Link copied to clipboard
open fun contextLost()
Called when the system has destroyed the underlying GL context.
deinitialize
Link copied to clipboard
open fun deinitialize()
Destroy any GL state needed by the custom layer, and deallocate context, if necessary.
initialize
Link copied to clipboard
open fun initialize()
Initialize any GL state needed by the custom layer.
render
Link copied to clipboard
open fun render(parameters: CustomLayerRenderParameters)
Render the layer.